Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Add support for content loaded in an iframe on the modal. #69

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

yorch
Copy link

@yorch yorch commented Mar 8, 2013

Hey,

Thanks for your plugin, great work!

I've made a plugin that relies on yours to support URLs to be loaded on an iframe inside a modal. Feel free to pull it if you find it useful.

Thanks,

Jorge.

@StevenHB
Copy link

Great stuff getting the iFrame to work - I am having issues closing the Modal once it has loaded.

@nikku
Copy link
Owner

nikku commented May 28, 2013

Hi Steven,

you have to make sure you open the whole application on a local webserver. Otherwise AJAX will not work.

Cheers,

Nico

@StevenHB
Copy link

I see, sorry I forgot to open it in the www folder. Next issue is trying to change the height of the Modal - I am using Yorch's iFrame plugin which is proving difficult without documentation. Right now it is stuck on width: 560px; height: 155px; I have tried to change the height in the javascrip call.

@StevenHB
Copy link

StevenHB commented Jun 9, 2013

hey there, I am using the iframe extension - but I would like to to open the iframe on pageload... I have tried to add an id tag and use the following code -
$(window).load(function(){
$('#test').modal('show');
});

$(document).ready(function() {
  $(".dialog-iframe").dialog2IFrame(    {
          height:900,
          closeOnOverlayClick: true, 
          closeOnEscape: true, 
          removeOnClose: true, 
          showCloseHandle: true,

    });
        focussed:true
        });

@nikku nikku added the backlog label Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants